package com.huatai.bi.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class DataSetColumnBO {
    private Long id;

    @ApiModelProperty(value = "数据集ID")
    private Long dataSetId;

    @ApiModelProperty(value = "字段名")
    private String columnName;

    @ApiModelProperty(value = "字段注释")
    private String columnComment;

    @ApiModelProperty(value = "字段类型")
    private String columnType;

    @ApiModelProperty(value = "字段位置")
    private Integer columnPosition;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @ApiModelProperty(value = "创建时间",hidden = true)
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @ApiModelProperty(value = "修改时间",hidden = true)
    private Date updateTime;

    @ApiModelProperty(value = "数据集名称")
    private Long dataSetName;
    @TableField(exist = false)
    @ApiModelProperty(value = "字段大类型")
    private String type;

    @ApiModelProperty(value = "加工步骤")
    private Integer stepNum;

    @ApiModelProperty(value = "sql")
    private String fullSql;
}
